//
//  STDSPath.cpp
//  STDSRenderSDKIOS
//
//  Created by 陈学明 on 2023/3/27.
//

#include "STDSPath.hpp"
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iterator>
#include <utility>


//struct STDSPath_Storage_Equivalent {
//    void*    fPtr;
//    int32_t  fIndex;
//    uint32_t fFlags;
//};
//
//static_assert(sizeof(STDSPath) == sizeof(STDSPath_Storage_Equivalent),
//              "Please keep an eye on SkPath packing.");
//
//static float poly_eval(float A, float B, float C, float t) {
//    return (A * t + B) * t + C;
//}
//
//static float poly_eval(float A, float B, float C, float D, float t) {
//    return ((A * t + B) * t + C) * t + D;
//}
//
//bool operator==(const STDSPath& a, const STDSPath& b) {
//    // note: don't need to look at isConvex or bounds, since just comparing the
//    // raw data is sufficient.
//    return &a == &b ||
//        (a.fFillType == b.fFillType);
//}
